package com.ty.mianshiya.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ty.mianshiya.model.dto.questionBank.QuestionBankQueryRequest;
import com.ty.mianshiya.model.entity.Question;
import com.ty.mianshiya.model.entity.QuestionBank;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ty.mianshiya.model.entity.User;
import com.ty.mianshiya.model.vo.QuestionBankVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author WangJiyou
* @description 针对表【question_bank(题库)】的数据库操作Service
* @createDate 2024-09-09 22:35:58
*/
public interface QuestionBankService extends IService<QuestionBank> {

    void validQuestionBank(QuestionBank questionBank, boolean b);

    QuestionBankVO getQuestionBankVO(QuestionBank questionBank, HttpServletRequest request);

    Wrapper<QuestionBank> getQueryWrapper(QuestionBankQueryRequest questionBankQueryRequest);

    Page<QuestionBankVO> getQuestionBankVOPage(Page<QuestionBank> questionBankPage, HttpServletRequest request);


}
